#define _CRT_SECURE_NO_WARNINGS 1
#include"stack.h"

Test01()
{
	Stack st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	StackPrint(st);
	StackDataType top = StackTop(&st);
	printf("%d", top);
}

int main()
{
	Test01();
	return 0;
}